package week11;
import java.util.Arrays;
import java.util.Scanner;

public class Pta0672 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        int[] arr = new int[n];
        for (int i = 0; i < arr.length;) {            
            String line = sc.nextLine();
            try {
                int value = Integer.parseInt(line);
                arr[i] = value;    
                i++;
            } catch (Exception e) {
                System.out.println(e);
            }
            
        }

        System.out.println(Arrays.toString(arr));
        sc.close();
    }

}
